package com.langsin.sunzhaofa.mapper;

import com.langsin.bean.Orders;
import com.langsin.bean.User;

import java.util.List;

public interface OrdersMapper {

    Orders queryOrdersAndUserByOrdersId(Integer orderId);

    // 根据用户id 查询所有 订单
    List<Orders> queryOrdersByUserId(Integer userId);

}
